'''
协程的使用，
'''
import asyncio

async def execute(num):
    print(f"num = {num}")

# 提前定义task
task = asyncio.ensure_future(execute(1))

loop = asyncio.get_event_loop()
loop.run_until_complete(task)

